<extend name="Base:common" />
<block name="style">
    <css href="__CSS__/index.css" />
    <style>
     body{
         background-image: url('__IMG__/images_main_background_1.png');
     }
    </style>
</block>
<block name="header">
    <header class="page default">
        <i class="abs back"></i>
        <h2>会员中心</h2>
        <i class="abs info"></i>
    </header>
</block>
<block name="body">
    <section class="user-info wrap">
        <div class="headimg">
            <img alt="" src="__IMG__/icon_waike_true.png"/>
        </div>
        <div class="info">
            <p class="phone">
                {$info.u_name}
            </p>
            <p class="level">
                <if condition="$info.u_ruleid eq 2">
                    管理员
                    <esle />
                    普通会员
                </if>
            </p>
            <p class="credit">
                当前积分： <span>{$info.u_integral}分</span>
            </p>
        </div>
    </section>
    <section class="user-list">
        <ul>
            <li class="wrap">
                <a href="{:U('fangan')}">
                    <img class="icon" alt="" src="__IMG__/icon_plan_true.png"/>
                    <span class="title">我的调理方案</span>
                    <img class="right" alt="" src="__IMG__/icon_details_true.png"/>
                </a>
            </li>
            <li class="wrap">
                <a href="{:U('credit')}">
                    <img class="icon" alt="" src="__IMG__/icon_integral.png"/>
                    <span class="title">积分管理</span>
                    <img class="right" alt="" src="__IMG__/icon_details_true.png"/>
                </a>
            </li>
            <li class="wrap">
                <a href="{:U('myact')}">
                    <img class="icon" alt="" src="__IMG__/icon_heart_true.png"/>
                    <span class="title">我的活动</span>
                    <img class="right" alt="" src="__IMG__/icon_details_true.png"/>
                </a>
            </li>
            <li class="wrap">
                <a href="{:U('about')}">
                    <img class="icon" alt="" src="__IMG__/icon_about.png"/>
                    <span class="title">关于我们</span>
                    <img class="right" alt="" src="__IMG__/icon_details_true.png"/>
                </a>
            </li>
        </ul>
    </section>
</block>
